package com.hqyj.system.service;

import com.hqyj.system.model.SysUser;

import java.io.IOException;
import java.util.List;

public interface SysUserService {
    SysUser querySysUserByNameAndPassword(SysUser sysUser) throws IOException;
    List<SysUser> queryAllSysUser() throws IOException;

    int addSysUserBySysUser(SysUser sysUser) throws IOException;

    int deleteSysUserByUserId(int userId) throws IOException;

    SysUser querySysUserByUserId(int userId) throws IOException;

    int updateSysUserBySysUser(SysUser sysUser) throws IOException;
}
